<?php

// +----------------------------------------------------------------------
// | 接口设置
// +----------------------------------------------------------------------

return [
    'article' => [
        'code' => 'Article',
        'method' => [
            'category' => [
                'code' => 'articleCategory',
                'is_login' => false
            ],
            'list' => [
                'code' => 'articleList',
                'is_login' => false
            ],
            'detail' => [
                'code' => 'articleDetail',
                'is_login' => false
            ],
            'setreadnum' => [
                'code' => 'setReadNum',
                'is_login' => false
            ]
        ]
    ],
    'advert' => [
        'code' => 'Advert',
        'method' => [
            'list' => [
                'code' => 'advertList',
                'is_login' => false
            ]
        ]
    ],
    'link' => [
        'code' => 'Link',
        'method' => [
            'list' => [
                'code' => 'linkList',
                'is_login' => false
            ]
        ]
    ],
    'setting' => [
        'code' => 'Setting',
        'method' => [
            'info' => [
                'code' => 'getSystemSetting',
                'is_login' => false
            ]
        ]
    ],
    'images' => [
        'code' => 'Images',
        'method' => [
            'upload' => [
                'code' => 'upload',
                'is_login' => false
            ],
        ]
    ],
];